package com.aphrodite.io.sip.dialog;

import com.aphrodite.io.sip.address.NameAddress;
import com.aphrodite.io.sip.message.Message;

/**
 * A NotifierDialogAccepterListener listens for NotifierDialogAccepter events.
 * It listens for new incoming subscribe requests that create a new
 * NotifierDialog.
 */
public interface NotifierDialogAccepterListener extends NotifierDialogListener {
	/**
	 * When the NotifierDialogAccepter receives a new subscribe request that
	 * creates a new NotifierDialog.
	 */
	public void onNewNotifierDialog(NotifierDialogAccepter accepter, NotifierDialog dialog, NameAddress target,
			NameAddress subscriber, String event, String id, Message msg);

}
